{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>问答详情</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" name="add_article" id="add_article" enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题：</label>
                            <div class="input-group col-sm-4">
                                <input id="title" disabled type="text" class="form-control"value="{$res.interlocution_title?$res.interlocution_title:''}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">评论数量：</label>
                            <div class="input-group col-sm-4">
                                <input type="text" disabled class="form-control"value="{$res.interlocution_num?$res.interlocution_num:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发布人：</label>
                            <div class="input-group col-sm-4">
                                <input id="" type="text" disabled class="form-control"value="{$res.user_username?$res.user_username:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">图片：</label>
                            <div class="input-group col-sm-5" id="interlocution_img">
                                {if count($interlocution_img)>0}
                                {volist name="interlocution_img" id="vo"}
                                <img id="img_data" height="100px" style="float:left;margin-left: 50px;margin-top:10px;cursor:pointer;"
                                     src="{$vo}"
                                     onerror="this.src='/static/admin/images/no_img.jpg'" onclick='imgDisplay(this)'/>
                                {/volist}
                                {/if}
                                <div id="fileList" class="uploader-list" style="float:right"></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">发布时间：</label>
                            <div class="input-group col-sm-4">
                                <input type="text" disabled class="form-control"value="{$res.interlocution_time?$res.interlocution_time:''}">
                            </div>
                        </div>
                        <div class="form-group" id="MyContent">
                            <label class="col-sm-3 control-label cyanse" for="myEditor">内容：</label>
                            <div class="input-group col-sm-9">
                                <textarea  disabled style="width:55%;height:200px" id="myEditor">
                                <?php echo(html_entity_decode($res['interlocution_introduce']?$res['interlocution_introduce']:''))?>
                                </textarea>
                                <a id="myEditors" style="color:#A94543"></a>
                            </div>
                        </div>


                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <!--<button class="btn btn-primary btsave"  type="button"><i class="fa fa-save"></i> 保存</button>&nbsp;&nbsp;&nbsp;-->
                                <a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i> 返回</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}

</body>
</html>